#if !defined(AFX_MYMENU_H__5B16DB2F_1CE9_4C74_8FE8_BFB7860F5604__INCLUDED_)
#define AFX_MYMENU_H__5B16DB2F_1CE9_4C74_8FE8_BFB7860F5604__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyMenu.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMyMenu window

class CMyMenu : public CMenu
{
// Construction
public:
	CMyMenu();

// Attributes
public:

// Operations
public:


// Implementation
public:
	BOOL TrackPopupMenu (UINT nFlags, int x, int y, CWnd* pWnd, LPCRECT lpRect = 0);
	BOOL TrackPopupMenuEx(UINT fuFlags, int x, int y, CWnd *pWnd, LPTPMPARAMS lptpm = NULL);

	BOOL LoadMenu(UINT nIDResource);
	// GetMenuItemCount
	void EnableMenuItem(UINT nIDEnableItem, BOOL bEnabled);
	BOOL AppendMenu(UINT nIDNewItem, LPCTSTR lpszNewItem = NULL);
	void AppendSeparator();
	virtual ~CMyMenu();
	CMyMenu* GetSubMenu (int nPos) const;

	// Generated message map functions
protected:

};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYMENU_H__5B16DB2F_1CE9_4C74_8FE8_BFB7860F5604__INCLUDED_)
